public class demo6 {
    private Object locker = new Object();
    public static synchronized void func(){

    }
}
